package com.ydsungan.pojo;

import java.io.Serializable;

public class Question implements Serializable {

    private Integer id;
    private String questionText;
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;
    private String imgPath;
    private Integer practiceCounts;
    private Integer rightAnswerCounts;
    private String rightOption;
    private String analysis;
    private Integer chapterId;
    private Integer bookId;
    private Integer multiple;


    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.id
     *
     * @return the value of question.id
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.id
     *
     * @param id the value for question.id
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.question_text
     *
     * @return the value of question.question_text
     *
     * @mbg.generated
     */
    public String getQuestionText() {
        return questionText;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.question_text
     *
     * @param questionText the value for question.question_text
     *
     * @mbg.generated
     */
    public void setQuestionText(String questionText) {
        this.questionText = questionText == null ? null : questionText.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.option_a
     *
     * @return the value of question.option_a
     *
     * @mbg.generated
     */
    public String getOptionA() {
        return optionA;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.option_a
     *
     * @param optionA the value for question.option_a
     *
     * @mbg.generated
     */
    public void setOptionA(String optionA) {
        this.optionA = optionA == null ? null : optionA.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.option_b
     *
     * @return the value of question.option_b
     *
     * @mbg.generated
     */
    public String getOptionB() {
        return optionB;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.option_b
     *
     * @param optionB the value for question.option_b
     *
     * @mbg.generated
     */
    public void setOptionB(String optionB) {
        this.optionB = optionB == null ? null : optionB.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.option_c
     *
     * @return the value of question.option_c
     *
     * @mbg.generated
     */
    public String getOptionC() {
        return optionC;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.option_c
     *
     * @param optionC the value for question.option_c
     *
     * @mbg.generated
     */
    public void setOptionC(String optionC) {
        this.optionC = optionC == null ? null : optionC.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.option_d
     *
     * @return the value of question.option_d
     *
     * @mbg.generated
     */
    public String getOptionD() {
        return optionD;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.option_d
     *
     * @param optionD the value for question.option_d
     *
     * @mbg.generated
     */
    public void setOptionD(String optionD) {
        this.optionD = optionD == null ? null : optionD.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.img_path
     *
     * @return the value of question.img_path
     *
     * @mbg.generated
     */
    public String getImgPath() {
        return imgPath;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.img_path
     *
     * @param imgPath the value for question.img_path
     *
     * @mbg.generated
     */
    public void setImgPath(String imgPath) {
        this.imgPath = imgPath == null ? null : imgPath.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.practice_counts
     *
     * @return the value of question.practice_counts
     *
     * @mbg.generated
     */
    public Integer getPracticeCounts() {
        return practiceCounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.practice_counts
     *
     * @param practiceCounts the value for question.practice_counts
     *
     * @mbg.generated
     */
    public void setPracticeCounts(Integer practiceCounts) {
        this.practiceCounts = practiceCounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.right_answer_counts
     *
     * @return the value of question.right_answer_counts
     *
     * @mbg.generated
     */
    public Integer getRightAnswerCounts() {
        return rightAnswerCounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.right_answer_counts
     *
     * @param rightAnswerCounts the value for question.right_answer_counts
     *
     * @mbg.generated
     */
    public void setRightAnswerCounts(Integer rightAnswerCounts) {
        this.rightAnswerCounts = rightAnswerCounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.right_option
     *
     * @return the value of question.right_option
     *
     * @mbg.generated
     */
    public String getRightOption() {
        return rightOption;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.right_option
     *
     * @param rightOption the value for question.right_option
     *
     * @mbg.generated
     */
    public void setRightOption(String rightOption) {
        this.rightOption = rightOption == null ? null : rightOption.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.analysis
     *
     * @return the value of question.analysis
     *
     * @mbg.generated
     */
    public String getAnalysis() {
        return analysis;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.analysis
     *
     * @param analysis the value for question.analysis
     *
     * @mbg.generated
     */
    public void setAnalysis(String analysis) {
        this.analysis = analysis == null ? null : analysis.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.chapter_id
     *
     * @return the value of question.chapter_id
     *
     * @mbg.generated
     */
    public Integer getChapterId() {
        return chapterId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.chapter_id
     *
     * @param chapterId the value for question.chapter_id
     *
     * @mbg.generated
     */
    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.book_id
     *
     * @return the value of question.book_id
     *
     * @mbg.generated
     */
    public Integer getBookId() {
        return bookId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.book_id
     *
     * @param bookId the value for question.book_id
     *
     * @mbg.generated
     */
    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column question.multiple
     *
     * @return the value of question.multiple
     *
     * @mbg.generated
     */
    public Integer getMultiple() {
        return multiple;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column question.multiple
     *
     * @param multiple the value for question.multiple
     *
     * @mbg.generated
     */
    public void setMultiple(Integer multiple) {
        this.multiple = multiple;
    }
}